require(['jquery','easing','fullpage'], function(){

	$(function(){
		var $fullpage=$("#mainContainer"),
				$sections=$fullpage.find('.section');

		$fullpage.fullpage({
			navigation:true,
			verticalCentered:false,
			css3:false, //css3的transition滑动会导致transition之后当前页面的a链接第一次无法点击
			afterRender:function(){ // 初始化
				$sections.stop().animate({opacity:1},400);
			}

		});

	});

});